Optimal. Leaf size=128 \[ \frac {(a+b x)^m (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m \, _2F_1\left (m,m;m+1;-\frac {d (a+b x)}{b c-a d}\right )}{f m}-\frac {(a+b x)^m (c+d x)^{-m} \, _2F_1\left (1,m;m+1;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{f m} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 128, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {105, 70, 69, 131} \[ \frac {(a+b x)^m (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m \, _2F_1\left (m,m;m+1;-\frac {d (a+b x)}{b c-a d}\right )}{f m}-\frac {(a+b x)^m (c+d x)^{-m} \, _2F_1\left (1,m;m+1;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{f m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 69
Rule 70
Rule 105
Rule 131
Rubi steps
\begin {align*} \int \frac {(a+b x)^m (c+d x)^{-m}}{e+f x} \, dx &=\frac {b \int (a+b x)^{-1+m} (c+d x)^{-m} \, dx}{f}-\frac {(b e-a f) \int \frac {(a+b x)^{-1+m} (c+d x)^{-m}}{e+f x} \, dx}{f}\\ &=-\frac {(a+b x)^m (c+d x)^{-m} \, _2F_1\left (1,m;1+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{f m}+\frac {\left (b (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m\right ) \int (a+b x)^{-1+m} \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{-m} \, dx}{f}\\ &=-\frac {(a+b x)^m (c+d x)^{-m} \, _2F_1\left (1,m;1+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{f m}+\frac {(a+b x)^m (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m \, _2F_1\left (m,m;1+m;-\frac {d (a+b x)}{b c-a d}\right )}{f m}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 106, normalized size = 0.83 \[ \frac {(a+b x)^m (c+d x)^{-m} \left (\left (\frac {b (c+d x)}{b c-a d}\right )^m \, _2F_1\left (m,m;m+1;\frac {d (a+b x)}{a d-b c}\right )-\, _2F_1\left (1,m;m+1;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )\right )}{f m} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.87, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b x + a\right )}^{m}}{{\left (f x + e\right )} {\left (d x + c\right )}^{m}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x + a\right )}^{m}}{{\left (f x + e\right )} {\left (d x + c\right )}^{m}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.24, size = 0, normalized size = 0.00 \[ \int \frac {\left (b x +a \right )^{m} \left (d x +c \right )^{-m}}{f x +e}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x + a\right )}^{m}}{{\left (f x + e\right )} {\left (d x + c\right )}^{m}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,x\right )}^m}{\left (e+f\,x\right )\,{\left (c+d\,x\right )}^m} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: HeuristicGCDFailed} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________